Integrand size = 22, antiderivative size = 23 \[ \int \frac {1+2 x^2}{1-3 x^2+4 x^4} \, dx=-\arctan \left (\sqrt {7}-4 x\right )+\arctan \left (\sqrt {7}+4 x\right ) \]
[Out]
Time = 0.02 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {1175, 632, 210} \[ \int \frac {1+2 x^2}{1-3 x^2+4 x^4} \, dx=\arctan \left (4 x+\sqrt {7}\right )-\arctan \left (\sqrt {7}-4 x\right ) \]
[In]
[Out]
Rule 210
Rule 632
Rule 1175
Rubi steps \begin{align*} \text {integral}& = \frac {1}{4} \int \frac {1}{\frac {1}{2}-\frac {\sqrt {7} x}{2}+x^2} \, dx+\frac {1}{4} \int \frac {1}{\frac {1}{2}+\frac {\sqrt {7} x}{2}+x^2} \, dx \\ & = -\left (\frac {1}{2} \text {Subst}\left (\int \frac {1}{-\frac {1}{4}-x^2} \, dx,x,-\frac {\sqrt {7}}{2}+2 x\right )\right )-\frac {1}{2} \text {Subst}\left (\int \frac {1}{-\frac {1}{4}-x^2} \, dx,x,\frac {\sqrt {7}}{2}+2 x\right ) \\ & = -\tan ^{-1}\left (\sqrt {7}-4 x\right )+\tan ^{-1}\left (\sqrt {7}+4 x\right ) \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 14, normalized size of antiderivative = 0.61 \[ \int \frac {1+2 x^2}{1-3 x^2+4 x^4} \, dx=-\arctan \left (\frac {x}{-1+2 x^2}\right ) \]
[In]
[Out]
Time = 0.09 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.70
method | result | size |
risch | \(\arctan \left (4 x^{3}-x \right )+\arctan \left (2 x \right )\) | \(16\) |
default | \(\arctan \left (4 x -\sqrt {7}\right )+\arctan \left (4 x +\sqrt {7}\right )\) | \(20\) |
parallelrisch | \(-\frac {i \ln \left (x^{2}-\frac {1}{2} i x -\frac {1}{2}\right )}{2}+\frac {i \ln \left (x^{2}+\frac {1}{2} i x -\frac {1}{2}\right )}{2}\) | \(28\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.65 \[ \int \frac {1+2 x^2}{1-3 x^2+4 x^4} \, dx=\arctan \left (4 \, x^{3} - x\right ) + \arctan \left (2 \, x\right ) \]
[In]
[Out]
Time = 0.05 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.52 \[ \int \frac {1+2 x^2}{1-3 x^2+4 x^4} \, dx=\operatorname {atan}{\left (2 x \right )} + \operatorname {atan}{\left (4 x^{3} - x \right )} \]
[In]
[Out]
\[ \int \frac {1+2 x^2}{1-3 x^2+4 x^4} \, dx=\int { \frac {2 \, x^{2} + 1}{4 \, x^{4} - 3 \, x^{2} + 1} \,d x } \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 42 vs. \(2 (19) = 38\).
Time = 0.30 (sec) , antiderivative size = 42, normalized size of antiderivative = 1.83 \[ \int \frac {1+2 x^2}{1-3 x^2+4 x^4} \, dx=\arctan \left (2 \, \sqrt {2} \left (\frac {1}{4}\right )^{\frac {3}{4}} {\left (4 \, x + \sqrt {14} \left (\frac {1}{4}\right )^{\frac {1}{4}}\right )}\right ) + \arctan \left (2 \, \sqrt {2} \left (\frac {1}{4}\right )^{\frac {3}{4}} {\left (4 \, x - \sqrt {14} \left (\frac {1}{4}\right )^{\frac {1}{4}}\right )}\right ) \]
[In]
[Out]
Time = 0.08 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.65 \[ \int \frac {1+2 x^2}{1-3 x^2+4 x^4} \, dx=\mathrm {atan}\left (2\,x\right )-\mathrm {atan}\left (x-4\,x^3\right ) \]
[In]
[Out]